Tag: tight loop

OpenGL weirdness

October 06, 2011 00:00

Try this:

        dispList = glGenLists(1);

        glNewList(dispList, GL_COMPILE);

        for(int x=-768; x<768; x++)
        for(int y=-768; y<768; y++)
        {
            glBegin(GL_QUADS);
                glColor3f((double)(rand() % 100) / 500, 
            (double)(rand() % 100) / 100, 0...
Read post